package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.entity.SignPlanVersionDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 签约计划版本详情快照表 Mapper 接口
 * </p>
 *
 * @author jyx
 * @since 2020-03-02
 */
public interface SignPlanVersionDetailCopyMapper extends BaseMapper<SignPlanVersionDetail> {

    /**
	 * 批量签约计划详情
     * @param list 签约计划详情列表
     */
    void insertList(@Param("list") List<SignPlanVersionDetail> list);

    /**
     * 根据签约计划版本id查询详细信息
     * @param versionId
     * @param isDel
     * @return
     */
    List<SignPlanVersionDetail> selectByVersionId(@Param("versionId") String versionId, @Param("isDel") int isDel);
}
